<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://localhost:56161/" />
<title>TesteCadastrarOrçamentoInvalido</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">TesteCadastrarOrçamentoInvalido</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/Orcamento</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Orçamento</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>css=form &gt; div.row-fluid &gt; div.span6 &gt; div.editor-field &gt; #IdServico</td>
	<td>Selecione Maquiagem</td>
</tr>
<tr>
	<td>assertValue</td>
	<td>xpath=(//input[@value='Adicionar'])[2]</td>
	<td>Adicionar</td>
</tr>
<tr>
	<td>verifyText</td>
	<td>css=th</td>
	<td>Nome do Servico</td>
</tr>
<tr>
	<td>assertText</td>
	<td>id=IdProduto</td>
	<td>Selecione Fotolivro</td>
</tr>
<tr>
	<td>assertValue</td>
	<td>xpath=(//input[@value='Adicionar'])[3]</td>
	<td>Adicionar</td>
</tr>
<tr>
	<td>verifyText</td>
	<td>//section[@id='main']/fieldset/div/div/table/tbody/tr/th</td>
	<td>Nome do Produto</td>
</tr>
<tr>
	<td>assertText</td>
	<td>id=IdTipoEvento</td>
	<td>Selecione Casamento</td>
</tr>
<tr>
	<td>assertValue</td>
	<td>xpath=(//input[@value='Adicionar'])[4]</td>
	<td>Adicionar</td>
</tr>
<tr>
	<td>verifyText</td>
	<td>//section[@id='main']/fieldset[2]/div/div/table/tbody/tr/th</td>
	<td>Nome do Tipo de Evento</td>
</tr>
<tr>
	<td>assertText</td>
	<td>css=button</td>
	<td>Salvar Orçamento</td>
</tr>
<tr>
	<td>assertText</td>
	<td>//section[@id='main']/div/a[2]/button</td>
	<td>Limpar Campos</td>
</tr>
<tr>
	<td>select</td>
	<td>css=form &gt; div.row-fluid &gt; div.span6 &gt; div.editor-field &gt; #IdServico</td>
	<td>label=Maquiagem</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>xpath=(//input[@value='Adicionar'])[2]</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>id=IdProduto</td>
	<td>label=Fotolivro</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>xpath=(//input[@value='Adicionar'])[3]</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=button</td>
	<td></td>
</tr>
<tr>
	<td>verifyText</td>
	<td></td>
	<td>O campo Tipo de Evento é requerido</td>
</tr>

</tbody></table>
</body>
</html>
